package org.jvending.provisioning.config.adapters.impl;

public class DescriptorFileTypeDriver implements org.apache.ws.jaxme.impl.JMSAXDriver {
    public org.xml.sax.helpers.AttributesImpl getAttributes(org.apache.ws.jaxme.impl.JMSAXDriverController pController, java.lang.Object pObject) throws org.xml.sax.SAXException {
        org.xml.sax.helpers.AttributesImpl _1 = new org.xml.sax.helpers.AttributesImpl();
        return _1;
    }

    public java.lang.String getPreferredPrefix(java.lang.String pURI) {
        if (pURI == null) {
            pURI = "";
        }
        if (pURI.equals("http://java.sun.com/xml/ns/j2ee-cp")) {
            return "j2ee-cp";
        }
        return null;
    }

    public void marshalChilds(org.apache.ws.jaxme.impl.JMSAXDriverController pController, org.xml.sax.ContentHandler pHandler, java.lang.Object pObject) throws org.xml.sax.SAXException {
        org.jvending.provisioning.config.adapters.DescriptorFileType _1 = (org.jvending.provisioning.config.adapters.DescriptorFileType) pObject;
        java.lang.String _2 = _1.getExtension();
        if (_2 != null) {
            pController.marshalSimpleChild(this, "http://java.sun.com/xml/ns/j2ee-cp", "extension", _1.getExtension());
        }
        java.lang.String _3 = _1.getMimeType();
        if (_3 != null) {
            pController.marshalSimpleChild(this, "http://java.sun.com/xml/ns/j2ee-cp", "mime-type", _1.getMimeType());
        }
    }

}
